package edu.zut.cs.software.example.QueryInfo;

public class QueryInfo {
	private int pageNum = 1;// 当前页
	private int pageSize = 1;// 每页最大数
	private String query;// 查询信息class
	private Long id;//查询信息id

	public QueryInfo(String query, int pageNum, int pageSize) {
		super();
		this.query = query;
		this.pageNum = pageNum;
		this.pageSize = pageSize;
	}

	public int getPageNum() {
		return pageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public String getQuery() {
		return query;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "QueryInfo [pageNum=" + pageNum + ", pageSize=" + pageSize + ", query=" + query + ",id="+ id +"]";
	}

	
}
